package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * parkingcar
 * @author 
 */
@Data
public class Parkingcar implements Serializable {
    private Integer id;

    private Integer ownerid;

    private Integer parkingid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date starttime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endtime;

    private Double price;

    private Integer parkstateid;

    private Integer carmoney;

    private Owners owners;

    private Parkinglot parkinglot;

    private Parkingstate parkingstate;

    private static final long serialVersionUID = 1L;
}